import { createSSRApp } from "vue";
import App from "./App.vue";
// import pinia from "@/stores/index";
import * as Pinia from "pinia";
import tmui from "./tmui";

export function createApp() {
  const app = createSSRApp(App);
  app.use(tmui, {} as Tmui.tmuiConfig);
  // app.use(pinia);
  return {
    app,
    Pinia
  };
}
